<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>Description for <xsl:value-of select="//report/attribute::actionname" /> action.</title>
</head>
<table border="0" cellspacing="1" cellpadding="2" bgcolor="#dddddd">
<tr bgcolor="#889cd5"><th class="heading3">Message type</th><th class="heading3">Date time</th><th class="heading3">Description</th></tr>
<xsl:for-each select="//log">
<tr bgcolor="#f5f4f4">
	<xsl:choose>
	<xsl:when test="message/attribute::type='ActionInitiated'">
		<td>Action started</td>
	</xsl:when>
	<xsl:when test="message/attribute::type='ActionEvent'">
		<td>Action event</td>
	</xsl:when>
	<xsl:otherwise>
		<td><xsl:value-of select="message/attribute::type"></xsl:value-of></td>
	</xsl:otherwise>
	</xsl:choose>	
	<td><script>WriteClientTime('<xsl:value-of select="attribute::dateTime" disable-output-escaping="yes"></xsl:value-of>');</script></td>
	<td><xsl:value-of select="message/description" disable-output-escaping="yes"></xsl:value-of></td>
</tr>
</xsl:for-each>
</table>
</html>
</xsl:template>
</xsl:stylesheet>